interface IterT{
    mess:string,
    num:number,
    saySome:()=>void
}

var myI:IterT={
    mess:'use it in Ubuntu',
    num:10,
    saySome:():void=>{
        while (this.num>=7){
            // @ts-ignore
            console.log(this.mess);
            this.num-=1;
        }
        return ;
    }
}

console.log(myI.mess);